package com.question.dicegame;

import java.awt.Image;

import javax.swing.text.Position;



public class Player {

	private Image headImage;
	private int[] player;
	private int number;
	//private int i,j;
	private boolean active;
	
	
	public Player() {
		
		
		player = new int [2];
		for (int i = 0; i < number; i++) {
			if(player[0] < 9 && player[1] == 0){
			player[0]++;
			}else if(player[0] == 9 && player[1] == 0){
			player[1]++;
			}else if(player[0] > 0  && player[1] == 1){
			player[0]--;	
			}else if(player[0] == 0 && player[1] == 1){
			player[1]++;	
			}
		}
		
		
	}


	public int getNumber() {
		this.number=(int)(Math.random()*6);
		return number;
	}


	public void setNumber(int number) {
		this.number = number;
	}
		

	
	
	}
